package nongchang.kuaijiecaifu.com.ncapp_android.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import butterknife.ButterKnife;
import butterknife.OnClick;
import ezy.lite.util.ContextUtil;
import nongchang.kuaijiecaifu.com.ncapp_android.R;
import nongchang.kuaijiecaifu.com.ncapp_android.common.activity.BaseActivity;

public class UserInfoActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_info);
        setupToolbarWithHome(R.id.toolbar);
        ButterKnife.bind(this);
    }
    @OnClick({R.id.btn_nickname,R.id.btn_setting})
    void Onclick(View view){
        switch (view.getId()){
            case R.id.btn_nickname:
                ContextUtil.startActivity(this,NickNameSettingActivity.class);
                break;
            case R.id.btn_setting:
                ContextUtil.startActivity(this,BaseSettingActivity.class);
                break;
        }
    }
}
